home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day01 / hello.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-08  |  568 b   |  21 lines

  1. //---------------------------------------------------------------------------
  2. #include <condefs.h>
  3. #include <conio.h>
  4. #include <iostream.h>
  5.  
  6. #pragma hdrstop
  7. //---------------------------------------------------------------------------
  8. //
  9. // We comment out the argc and argv variables to avoid
  10. // compiler warnings.
  11. //
  12. int main(int /*argc*/, char /***argv*/)
  13. {
  14.   cout << "Hello World!" << endl;
  15.   cout << endl << "Press any key to continue...";
  16.   getch();
  17.   return 0;
  18. }
  19. //---------------------------------------------------------------------------
  20.  
  21.